CoreMlDiffusionImpl

Implements the iOS entry point for Silicon Diffusion Core ML generation.

Author

Dmitriy Moroz

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
private val statusFlow: MutableSharedFlow<LocalDiffusionStatus>

Functions

Link copied to clipboard
open suspend override fun interrupt()

Performs the SDAI side effect handled by interrupt.

Link copied to clipboard
open override fun observeStatus(): SharedFlow<LocalDiffusionStatus>

Loads SDAI data through observeStatus.

Link copied to clipboard
open suspend override fun process(payload: ImageToImagePayload, modelPath: String): String
open suspend override fun process(payload: TextToImagePayload, modelPath: String): String

Executes the process step in the SDAI Core ML feature layer.